.card {
  width: 3rem;
  height: 3.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background-color: #fffffe;
  border-radius: .15rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: "";
  width: 3rem;
  height: .58rem;
  position: absolute;
  top: 0;
  border-top-left-radius: .15rem;
  border-top-right-radius: .15rem;
  border-bottom: 3px solid #fefefe;
  background: linear-gradient(40deg, #b469e7 0%, #f9a0a0 50%, #d38e2d 100%);
  transition: all 0.5s ease;
}

.card * {
  z-index: 1;
}

.image {
  width: .7rem;
  height: .7rem;
  background-color: #ededed;
  border-radius: 50%;
  border: .04rem solid #fefefe;
  transition: all 0.5s ease;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 90%;
    height: 90%;
  }
}

.card_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  transition: all 0.5s ease;
}

.card_info span {
  font-weight: 600;
  font-size: .2rem;
  color: #161A42;
  // margin-top: 8px;
  display: inline-block;
  width: 70%;
  // line-height: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card_info p {
  color: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  height: .64rem;
  width: 90%;
  min-width: 2rem;
  transition: all 0.5s ease;
}

.card .divider {
  margin-bottom: .1rem;
}

.card .but{
  text-align: left;
  width: 100%;
  padding-left: .2rem;
}

.button {
  text-decoration: none;
  background-color: #1468BF;
  color: white;
  padding: .05rem .2rem;
  border-radius: .05rem;
  border: 1px solid white;
  transition: all 0.5s ease;
}

.card:hover::before {
  width: 3.1rem;
  height: 3.1rem;
  border-bottom: none;
  border-bottom-left-radius: .15rem;
  border-bottom-right-radius: .15rem;
  transform: scale(0.95);
}

//.card:hover .card_info {
//  transform: translate(0%, 20%);
//}

//.card:hover .image {
//  transform: scale(0.8) translate(-161%, -11%);
//  position: absolute;
//  top: 3%;
//  z-index: 4;
//}

//.card:hover .card_info p {
//  height: 96px;
//  -webkit-line-clamp: 4;
//}

//.button:hover {
//  background-color: #FF6844;
//  transform: scale(1.01);
//}